package com.egao.common.module.student.entity;

import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生贫困信息
 * 涵精准扶贫、52县生源 使用类型区分
 * @author lym
 */
@ApiModel(description = "学生贫困信息 精准扶贫、52县生源")
@TableName("student_poverty")
@Data
public class StudentPoverty implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学生ID")
    private Integer studentId;

    @ApiModelProperty("类型 1.精准扶贫 2.52县生源")
    private String category;
    @ApiModelProperty("是否填报 0.已填报 1.未填报")
    private String fill;

    @ApiModelProperty("家庭联系人姓名")
    private String homeName;
    @ApiModelProperty("贫困状况 SELECT")
    private String povertyType;
    @ApiModelProperty("帮扶状况 SELECT")
    private String helpType;
    @ApiModelProperty("帮扶措施")
    private String helpMeasures;
    @ApiModelProperty("家庭电话")
    private String homeMobile;
    @ApiModelProperty("学校帮扶责任人")
    private String schoolTeacher;
    @ApiModelProperty("职务")
    private String schoolTeacherPosition;
    @ApiModelProperty("帮扶人电话")
    private String schoolTeacherMobile;

    @ApiModelProperty("意向类别 SELECT")
    private String intenType;
    @ApiModelProperty("意向地区 SELECT")
    private String intenArea;
    @ApiModelProperty("意向单位行业 SELECT")
    private String intenIndustry;
    @ApiModelProperty("意向职位类别 SELECT")
    private String intenJobCategory;

    @ApiModelProperty("学校推荐单位1")
    private String companyOne;
    @ApiModelProperty("学校推荐单位1所在地 SELECT")
    private String companyOneArea;
    @ApiModelProperty("单位1岗位名称")
    private String companyOnePosition;
    @ApiModelProperty("是否在单位1就业 SELECT")
    private String companyOneJoin;
    @ApiModelProperty("推荐单位1时间")
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date companyOneTime;
    @ApiModelProperty("不去单位1就业原因")
    private String companyOneExit;

    @ApiModelProperty("学校推荐单位2")
    private String companySecond;
    @ApiModelProperty("学校推荐单位2所在地 SELECT syszd")
    private String companySecondArea;
    @ApiModelProperty("单位2岗位名称")
    private String companySecondPosition;
    @ApiModelProperty("是否在单位2就业 SELECT")
    private String companySecondJoin;
    @ApiModelProperty("推荐单位2时间")
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date companySecondTime;
    @ApiModelProperty("不去单位2就业原因")
    private String companySecondExit;

    @ApiModelProperty("学校推荐单位3")
    private String companyThird;
    @ApiModelProperty("学校推荐单位3所在地 SELECT syszd")
    private String companyThirdArea;
    @ApiModelProperty("单位3岗位名称")
    private String companyThirdPosition;
    @ApiModelProperty("是否在单位3就业 SELECT")
    private String companyThirdJoin;
    @ApiModelProperty("推荐单位3时间")
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date companyThirdTime;
    @ApiModelProperty("不去单位3就业原因")
    private String companyThirdExit;

    @ApiModelProperty("最终就业类型 SELECT")
    private String finallyJobType;
    @ApiModelProperty("最终确定的就业去向")
    private String finallyJobWhere;
    @ApiModelProperty("暂不就业理由")
    private String noJobReason;

    @ApiModelProperty("添加时间")
    private Date createTime;
    @ApiModelProperty("添加人")
    private Integer createBy;

    @ApiModelProperty("编辑时间")
    private Date updateTime;
    @ApiModelProperty("编辑人")
    private Integer updateBy;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    /** label */

    @ApiModelProperty("毕业年份")
    @TableField(exist = false)
    private String yearId;

    @ApiModelProperty("学号")
    @TableField(exist = false)
    private String xh;

    @ApiModelProperty("姓名")
    @TableField(exist = false)
    private String xm;

    @ApiModelProperty("性别")
    @TableField(exist = false)
    private String xb;

    @ApiModelProperty("学历")
    @TableField(exist = false)
    private String xl;

    @ApiModelProperty("学院")
    @TableField(exist = false)
    private String collegeName;

    @ApiModelProperty("专业")
    @TableField(exist = false)
    private String majorName;

    @ApiModelProperty("手机号")
    @TableField(exist = false)
    private String mobile;
}
